#ifndef BSP_KEYSCAN_H
#define BSP_KEYSCAN_H
#include "hc32_ddl.h"

/* KEYOUT port, pin definition */
#define  KEYOUT_PORT        (PortA)
#define  KEYOUT0_PIN        (Pin04)
#define  KEYOUT1_PIN        (Pin05)
#define  KEYOUT2_PIN        (Pin06)

/* KEYIN port, pin definition */
#define  KEYIN_PORT         (PortD)
#define  KEYIN0_PIN         (Pin12)
#define  KEYIN1_PIN         (Pin13)
#define  KEYIN2_PIN         (Pin14)


#ifdef __cplusplus
extern "C" {
#endif

void bsp_keyscan_init(void);
#ifdef __cplusplus
}
#endif


#endif
